<template>
    <div class="container">
        <h1>hello</h1>
        <h1 class="one">{{ counterStore.count }}</h1>
    </div>
</template>

<script setup lang="ts">
import { useCounterStore } from './counterStore'
const counterStore = useCounterStore()
console.log('[ counterStore ] >', counterStore)
</script>

<style scoped lang="scss">
.one {
    color: yellowgreen;
}
</style>./counterStore.js